{extend name='self@public/index'}
{block name="main"}
<style>
    img{
        width:50px;height:50px;
    }
</style>

<!--表格-->
<script>

    //获取数据接口
    let getData = {$getData};

    //表格列
    let columns = [
        {field:'',checkbox:true},
        { field: 'type', title: '类型'},

        { field: 'img', title: '图片',formatter:function(value,row,col)
            {
                value = value.substr(2,value.length -4);
                return '<img src="'+value+'" style="width:200px;height:80px"></img>'
            }},
        { field: 'status', title: '状态',formatter:statusShow},
        { field: 'create_time', title: '发布时间'},
        { field: 'update_time', title: '最后更新时间'},
    ];

    let area = ['40%', '50%'];


</script>


<script>


</script>


{/block}